import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import set_node_cls from '@feidao/web/atom/browser/ui/set-node-cls';

export default async function (fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	console.log('初始显示');
	set_node_cls(fd.data.node, 'display-n', false);
	const form_add = fd.data.node.querySelector("#form_add") as HTMLFormElement;
	fd.data.form_add = form_add;
	fd.data.can_submit = true;
}
